/*
 * EditListener.java  0.4.0 / Oct 24, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.swing.events;

import java.util.EventListener;

/**
 * Edit Listener.
 *
 * @author Slobodan Vrkacevic
 * @version 0.4.0
 */
public interface EditListener extends EventListener {

  /**
   * Notifies listener that an <tt>cut</tt> operation is available.
   *
   * @param available <tt>true</tt> if available
   */
  public void cutAvailable(boolean available);

  /**
   * Notifies listener that an <tt>copy</tt> operation is available.
   *
   * @param available <tt>true</tt> if available
   */
  public void copyAvailable(boolean available);

  /**
   * Notifies listener that an <tt>paste</tt> operation is available.
   *
   * @param available <tt>true</tt> if available
   */
  public void pasteAvailable(boolean available);

  /**
   * Notifies listener that an <tt>clear</tt> operation is available.
   *
   * @param available <tt>true</tt> if available
   */
  public void clearAvailable(boolean available);

  /**
   * Notifies listener that an <tt>select all</tt> operation is available.
   *
   * @param available <tt>true</tt> if available
   */
  public void selectAllAvailable(boolean available);

}
